<include file="Admin/Public/header" />
<div id="main-content">
	<!-- Main Content Section with everything -->
	<noscript>
		<!-- Show a notification if the user has disabled javascript -->
		<div class="notification error png_bg">
			<div>
				Javascript is disabled or is not supported by your browser. Please <a
					href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a>
				your browser or <a
					href="http://www.google.com/support/bin/answer.py?answer=23852"
					title="Enable Javascript in your browser">enable</a> Javascript to
				navigate the interface properly. Download From <a
					href="http://www.exet.tk">exet.tk</a>
			</div>
		</div>
	</noscript>
	<!-- Page Head -->
	<p id="page-intro">
	<h2>快捷菜单</h2>
	</p>
	<ul class="shortcut-buttons-set">
		<li><a class="shortcut-button"
			href="__APP__/Admin/Content/newcontent"><span> <img
					src="/Public/resources/images/icons/pencil_48.png" alt="icon" /><br />
					写一篇文章 </span> </a>
		</li>
		<li><a class="shortcut-button" href="__APP__/Admin/Category/newcategory"><span> <img
					src="/Public/resources/images/icons/paper_content_pencil_48.png"
					alt="icon" /><br /> 添加一个分类 </span> </a>
		</li>
		<li><a class="shortcut-button" href="__APP__/Admin/Channel/newchannel"><span> <img
					src="/Public/resources/images/icons/image_add_48.png"
					alt="icon" /><br /> 添加一个频道 </span> </a>
		</li>
	</ul>
	<!-- End .shortcut-buttons-set -->
	<div class="clear"></div>
	<!-- End .clear -->
	<div class="content-box">
		<!-- Start Content Box -->
		<div class="content-box-header">
			<h3>Content box</h3>
			<ul class="content-box-tabs">
				<!-- href must be unique and match the id of target div -->
				<li><a href="#tab1" class="default-tab">Table</a></li>
			</ul>
			<div class="clear"></div>
		</div>
		<!-- End .content-box-header -->
		<div class="content-box-content">
			<div class="tab-content default-tab" id="tab1">
				<table>
					<thead>
						<tr>
							<th>频道</th>
							<th>标题</th>
							<th>浏览</th>
							<th>时间</th>
							<th>推荐</th>
							<th>编辑</th>
							<th>附件</th>
							<th>相册</th>
						</tr>
					</thead>
					<tfoot>
						<tr>
							<td colspan="6">
								<div class="pagination align-left">
									一共<a href="__URL__/index?page={$count}&channel={$channel}"
										class="number" title="3">{$count}</a>页&nbsp;&nbsp; <a
										href="__URL__/index?page=1&channel={$channel}"
										title="First Page">&laquo; First</a> <a
										href="__URL__/index?page={$nowpage-1}&channel={$channel}"
										title="Previous Page">&laquo; Previous</a>
									<volist name="middle" id="page"> <eq name="page"
										value="$nowpage"> <a
										href="__URL__/index?page={$page}&channel={$channel}"
										class="number current">{$page}</a>
									<else /> <a
										href="__URL__/index?page={$page}&channel={$channel}"
										class="number">{$page}</a> </eq> </volist>
									<a href="__URL__/index?page={$nowpage+1}&channel={$channel}"
										title="Next Page" class="number">Next &raquo;</a> <a
										href="__URL__/index?page={$count}&channel={$channel}"
										title="Last Page">Last &raquo;</a> 当前第<a
										href="__URL__/index?page={$nowpage}&channel={$channel}"
										class="number" title="3">{$nowpage}</a>页
								</div>
								<div class="clear"></div></td>
						</tr>
					</tfoot>
					<volist name="contents" id="content">
					<tr>
						<td><volist name="channels" id='channel'> <eq
								name="channel.channel_id" value="$content.channel_id">{$channel.channel_name}</eq>
							</volist></td>
						<td><div
								style="width: 150px; height: 17px; overflow: hidden;">
								<eq name="content.content_title" value="">无标题<else />{$content.content_title}</eq>
							</div>
						</td>
						<td><eq name="content.content_state" value="0">不允许<else />允许</eq>
						</td>
						<td>{$content.content_time}</td>
						<td><eq name="content.content_isthumb" value="1">有图<else />无图</eq>
						</td>
						<td><a href="__URL__/editcontent?id={$content.content_id}"><img
								src="/Public/resources/images/icons/pencil.png" alt="Edit" />
						</a>&nbsp;&nbsp;<a
							href="__URL__/deletecontent?id={$content.content_id}"><img
								src="/Public/resources/images/icons/cross.png" alt="Delete" />
						</a></td>
						<td><a
							href="__URL__/../Attach/showattach?id={$content.content_id}"><img
								src="/Public/resources/images/icons/hammer_screwdriver.png"
								alt="Edit Meta" />
						</a></td>
						<td><eq name="content.content_albums" value="0"> <a
								href="__URL__/../Albums/addalbums?id={$content.content_id}">生成相册</a>
							<else /> <a
								href="__URL__/../Albums/deletealbums?id={$content.content_id}">删除相册</a></eq>
						</td>
					</tr>
					</volist>
				</table>
			</div>
		</div>
		<!-- End #tab2 -->
	</div>
	<!-- End .content-box-content -->
	<div class="clear"></div>
	<div id="footer">
		<small> <!-- Remove this notice or replace it with whatever you want -->
			&#169; Copyright 2010 Your Company | Powered by <a
			href="http://www.865171.cn">admin templates</a> | <a href="#">Top</a>
		</small>
	</div>
	<!-- End #footer -->
</div>
<!-- End #main-content -->
</div>
</div>
</body>
</html>